package com.zhentao.tot.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * App已发布文章配置对象 ap_article_config
 * 
 * @author ruoyi
 * @date 2025-04-18
 */
public class ApArticleConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 文章ID */
    @Excel(name = "文章ID")
    private Long articleId;

    /** 是否可评论 */
    @Excel(name = "是否可评论")
    private Integer isComment;

    /** 是否转发 */
    @Excel(name = "是否转发")
    private Integer isForward;

    /** 是否下架 */
    @Excel(name = "是否下架")
    private Integer isDown;

    /** 是否已删除 */
    @Excel(name = "是否已删除")
    private Integer isDelete;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setArticleId(Long articleId) 
    {
        this.articleId = articleId;
    }

    public Long getArticleId() 
    {
        return articleId;
    }

    public void setIsComment(Integer isComment) 
    {
        this.isComment = isComment;
    }

    public Integer getIsComment() 
    {
        return isComment;
    }

    public void setIsForward(Integer isForward) 
    {
        this.isForward = isForward;
    }

    public Integer getIsForward() 
    {
        return isForward;
    }

    public void setIsDown(Integer isDown) 
    {
        this.isDown = isDown;
    }

    public Integer getIsDown() 
    {
        return isDown;
    }

    public void setIsDelete(Integer isDelete) 
    {
        this.isDelete = isDelete;
    }

    public Integer getIsDelete() 
    {
        return isDelete;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("articleId", getArticleId())
            .append("isComment", getIsComment())
            .append("isForward", getIsForward())
            .append("isDown", getIsDown())
            .append("isDelete", getIsDelete())
            .toString();
    }
}
